There are two set of standard default colors for selected listview items: One set of colors (back and fore colors) when the listview has focus. And another set of colors when the listview has not focus.

Furthermore, there is a set of standard default colors for normal (unselected) listview items. This means that there is a total of three sets of standard default colors for listview items.

The standard default back and fore colors are:

Normal (unselected) items:            White and black
Selected items in focused listview:   Dark blue and white
Selected items in unfocused listview: Button face and black

In this folder it's demonstrated how to replace the standard default colors and especially the standard default colors for selected items with custom default colors.

Note that colors for selected items cannot be used as an independent feature but can only be used together with one of the other features. Colors for selected items extends the functionality of these features (by adding colors to selected items).

In all examples three buttons are added to the bottom of the GUI: "Normal/unselect", "Select/focus", and "Select/unfocus".

Normal/unselect: Unselects all items among the first ten rows and sets focus to item 0 (dotted rectangle)
Select/focus:    Selects six items among the first ten rows and sets focus to item 0 (listview has focus)
Select/unfocus:  Selects six items among the first ten and sets focus to button (listview has not focus)
